<div id="banner"><p>&nbsp;</p></div>
<link href="css/style.css" rel="stylesheet" />

<nav>
    <ul>
        <li><a href="index.jsp">Home</a></li>
        <li><a href="#">Kalkulator</a>
            <ul>
                <li><a href="hitung-dana.jsp">Hitung Dana</a></li>
                <li><a href="rencanakan-dana.jsp">Rencanakan Dana</a></li>
                <li><a href="hitung-investasi.jsp">Hitung Investasi</a></li>
            </ul>
        </li>
        <li><a href="#">Investasi</a>
            <ul>
                <li><a href="reksadana.jsp">Reksadana</a></li>
                <li><a href="deposito.jsp">Deposito</a></li>
                <li><a href="emas.jsp">Emas</a></li>
                <li><a href="unitlink.jsp">Unitlink</a></li>
            </ul>
        </li>
        <li><a href="about.html">About</a></li>
        <li><a href="akunku.jsp">Akunku</a></li>
    </ul>
</nav>
<br><br>
<body>
    <div align="center">
        <table width="740" border="0">
            <tr>
                <td><h2>Registrasi</h2><p>Isikan data diri anda di bawah ini</p></td>
            </tr>
        </table>
        <br><br>
        <form name="myForm" action="register_process.jsp" method="post" onsubmit="return(validate());"><table cellpadding="10">
                <tr>
                    <td>Nama Lengkap</td>
                    <td><label for="textfield"></label>
                        <input type="text" name="txtname" id="textfield" /></td>
                </tr>
                <tr>
                    <td>Username</td>
                    <td><input type="text" name="txtusername" id="textfield2" /></td>
                </tr>
                <tr>
                    <td>Email</td>
                    <td><input type="text" name="txtemail" id="textfield3" /></td>
                </tr>
                <tr>
                    <td>Password</td>
                    <td><input type="text" name="txtpassword" id="textfield4" /></td>
                </tr>
                <tr>
                    <td>Jenis Kelamin</td>
                    <td><input type="radio" name="jeniskelamin" id="radio" value="1" checked />
                        Pria 
                        <input type="radio" name="jeniskelamin" id="radio2" value="2" />
                        <label for="radio2"></label>
                        <label for="radio">Wanita</label></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td><div align="right">
                            <input type="submit" name="button" id="button" value="Submit" />
                        </div></td>
                </tr>
            </table>
        </form>
    </div>
    <script type="text/javascript">
        <!--
        // Form validation code will come here.
        function validate()
        {
 
            if( document.myForm.txtname.value == "" )
            {
                alert( "Nama lengkap belum diisi!" );
                document.myForm.txtname.focus() ;
                return false;
            }
            if( document.myForm.txtusername.value == "" )
            {
                alert( "Username belum diisi!" );
                document.myForm.txtusername.focus() ;
                return false;
            }
            if( document.myForm.txtemail.value == "" )
            {
                alert( "Email belum diisi!" );
                document.myForm.txtemail.focus() ;
                return false;
            }
            if( document.myForm.txtpassword.value == "" )
            {
                alert( "Password belum diisi!" );
                document.myForm.txtpassword.focus() ;
                return false;
            }
        }
    </script>
</body>